package com.hyst.repository;

import java.util.List;
import java.util.Map;

import com.hyst.domain.PurchaseCourseView;

import tk.mybatis.mapper.common.Mapper;

public interface PurchaseCourseViewMapper extends Mapper<PurchaseCourseView> {
	List<PurchaseCourseView> getView(PurchaseCourseView pc);

	List<PurchaseCourseView> getView2(PurchaseCourseView pc);

	String getLesson(Map<String,String> sqlMap);

	String getSelect2Data(Map<String,String> sqlMap);


	void updateRemain(Map<String,Object> sqlMap);

	void updateEnro(Map<String,Object> sqlMap);

	void updateLog(Map<String,Object> sqlMap);

//	void deleteSchedule(Map<String,Object> deleteSchedule);

	void updateHourEn(Map map);

	String getLevel(Integer id);

}
